package com.hex.ds.hdtp.core.inf.data.table.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hex.ds.hdtp.core.inf.data.table.po.TableTransferFieldMapPo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Package com.hex.ds.hdtp.core.inf.data.table.mapper
 * @ClassName ITableTransferFieldMapMapper
 * @Description 表迁移-数据映射接口
 * @Author Wang zhihao
 * @Date 2023/8/9 11:59
 * @Version v1.0
 **/
@Repository
public interface ITableTransferFieldMapMapper extends BaseMapper<TableTransferFieldMapPo> {

    /**
     * @Method queryListByPage
     * @Param
     * @param toMyBatisPlusPage
     * @param tableTransferFieldMapPo
     * @Return com.baomidou.mybatisplus.core.metadata.IPage<com.hex.ds.hdtp.core.inf.data.table.po.TableTransferFieldMapPo>
     * @Description 分页查询
     * @Author Wang zhihao
     * @Date 2023/8/9 11:58
     * @Version V1.0
     */
    IPage<TableTransferFieldMapPo> queryListByPage(IPage<TableTransferFieldMapPo> toMyBatisPlusPage,
                                                   @Param("po") TableTransferFieldMapPo tableTransferFieldMapPo);

    /**
     * @Method queryList
     * @Param
     * @param tableTransferFieldMapPo
     * @Return java.util.List<com.hex.ds.hdtp.core.inf.data.table.po.TableTransferFieldMapPo>
     * @Description 不分页查询
     * @Author Wang zhihao
     * @Date 2023/8/11 16:55
     * @Version V1.0
     */
    List<TableTransferFieldMapPo> queryList(@Param("po") TableTransferFieldMapPo tableTransferFieldMapPo);

    /**
     * @Method removeByListPkId
     * @Param
     * @param listPkId
     * @Return void
     * @Description 根据表迁移清单主键删除
     * @Author Wang zhihao
     * @Date 2023/8/15 14:01
     * @Version V1.0
     */
    void removeByListPkId(String listPkId);
}
